package com.gljx.web.service;

import com.gljx.web.Entity.*;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/12/5 0005.
 */
public interface SharecarsubService {
    Map<String, Object> selectPage(int pindex, String s, int psize);

    Map<String, Object> selectPageCount(String psql);

    //进行自动分车
    Map<String, SharecarsubView> autoCar(String cflcsjid, String carType, String number, String kemu, String cfcoachid);

    void addsharecarsub(Sharecarsub sharecarsub, String[] zxsName, String[] zxsfnumber, String cflcsjid, String state);

    void deleteBySharecarsubentryKey(String[] deleteId);

    Sharecarsub selectSharecarsubentryByFid(String fid);

    List<Sharecarsubentry> selectSharecarsubentryByFparentid(String fid);

    //按照练车时间查询预约列表 练车时间 cflcsjid 预约类型 cfbilltype 车型 cfsqzjcxdh
    List<Sharecarsub> selectpractiseOrderList(String cflcsjid, String cfbilltype, String cfsqzjcxdh, String type);

	int deleteBySharecarsubentryByFid(String fid);

    //微信预约练车
    StudentInitiativeCar addsharecarsubAsWx(String kemu, String coachid, String lcsjId, Student student);

    List<Sharecarsub> selectSharecarsubentryXls(String cflcsj, String cfstudentname, String cfidcardno, String cfmobile, String subject, String beginTime, String endTime, String fcompanyid);

    List<Sharecarsub> selectSharecarsubentryAsWxXls(String cflcsj, String cfstudentname, String cfidcardno, String cfmobile, String cfcomputationtimestate, String subject, String beginTime, String endTime, String fcompanyid);

    List<Sharecarsub> selectSharecarsubentryXlss(String cflcsj, String cfstudentname, String cfidcardno, String cfmobile, String subject,String beginTime, String endTime,String type,String fcompanyid);


    void deletesharecarsubBydelfidAndLcsjid(String[] delfid);
}
